package com.revenco.bi.dao;

import java.util.List;
import java.util.Map;

import com.revenco.bi.model.KpiPeriod;
import com.revenco.bi.model.TnTableInfo;
import com.revenco.bi.model.userbean.AnychartDataBean;

/**
 * 
 * @author zhaozz
 * 
 */
public interface ChartSqlDao {
	public List<KpiPeriod> getAll();

	public Map<String,List<AnychartDataBean>> getSeriesData(String sql,
			List<String> legendList);

	public String sqlTest(String sql);
	
	public Map<String, Map<String, String>> getSeriesData2(String sql,
			List<String> legendList);
	
	public TnTableInfo getTableById(String id);

	public String getAsNameByName(String name);
}
